package com.qiaofang.applet.service.other.service;

import com.qiaofang.applet.service.other.domain.LendingRates;
import com.qiaofang.applet.service.other.service.dto.LendingHistoricalDataDto;
import com.qiaofang.applet.service.other.service.dto.LendingRatesAdminDto;
import com.qiaofang.applet.service.other.service.dto.LendingRatesResultDto;
import com.qiaofang.applet.service.other.service.dto.TaxResultDto;

import java.util.List;

/**
 * @Author: youqing.yang
 * @Create: 2020/11/13 11:21
 * @Description:
 **/
public interface LendingRatesService {

    LendingRatesResultDto getLendingRates();

    LendingRatesAdminDto getLendingRatesForAdmin(String corporationCode);

    void saveLendingRates(LendingRates lendingRates);

    String totalCount(TaxResultDto taxResultDto);

    /**
     * 历史LPR利率
     * @param corporationCode
     * @return
     */
    List<LendingHistoricalDataDto> listHistoricalData(String corporationCode);

    /**
     * 初始化集团房贷利率
     * @param corporationCode
     */
    void initLendingRates(String corporationCode);
}
